//
//  UserData.h
//  Inforcollection
//
//  Created by macbook on 15/12/9.
//  Copyright © 2015年 oceansoft.liw. All rights reserved.
//

#import "BaseNSObject.h"
#import "UserModel.h"

@interface UserData : BaseNSObject



@property(nonatomic)BOOL isLogin;

@property(nonatomic,strong)UserModel *userModel;


+(instancetype)shareUserData;

-(void)saveUserInfoWith:(NSDictionary *)userInfo;

-(void)loginOut;

-(void)savaUserNameAndPassWord:(NSString *)userName WithPassWord:(NSString *)passWord;

-(NSString *)getUserName;

-(NSString *)getPassWord;

//修改过电话号码保存
-(void)savaPhone:(NSString *)phoneNum;

@end
